package com.itcast.hateoas.demo.stock.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.persistence.Entity;
import javax.persistence.Table;


@Data
@Entity
@NoArgsConstructor
@AllArgsConstructor
@Table(name = "T_STOCKS")
public class StocksEntity extends BaseEntity{


    private String name;
    private Double price;

}
